//
//  UserReg.h
//  SenMo
//
//  Created by ZengYuan on 15/12/28.
//  Copyright © 2015年 ZengYuan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserReg : NSObject

+(void)userReg:(NSString *)userid andPwd:(NSString *)pwd
       success:(void (^)())success failure:(void (^)(NSString *error))failure;


+(void)userSet:(NSString *)phone
     newpasswd:(NSString *)pwd
       success:(void (^)())success failure:(void (^)(NSString *error))failure;

@end
